import React, { createContext } from 'react'
// 对象内填的是 你要传递给子孙组件的默认数据
const FatherContext = createContext({
  text: '',
  setText: (val:string) => {},
})
export default FatherContext